<?php

defined('CHERRY_APP_ROOT') or define('CHERRY_APP_ROOT',__DIR__.'/../');
defined('CHERRY_DEBUG') or define('CHERRY_DEBUG', true);
defined('CHERRY_ENV') or define('CHERRY_ENV', 'test');
require(__DIR__ . '/../vendor/autoload.php');
froyo\cherry\Base\Cherry::register();
$config = require(__DIR__ . '/../config/web.php');


(new froyo\cherry\web\Application($config))->run();